package com.koron.ticket.operation.mapper;

import com.koron.ticket.operation.bean.OperationSafeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OperationSafeMapper {

    int deleteByPrimaryKey(String id);

    int insert(OperationSafeBean record);

    int insertSelective(OperationSafeBean record);

    OperationSafeBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OperationSafeBean record);

    int updateByPrimaryKey(OperationSafeBean record);

    int updateBatch(List<OperationSafeBean> list);

    int batchInsert(@Param("list") List<OperationSafeBean> list);

    int deleteByOperationId(@Param("operationId")String operationId);


    List<OperationSafeBean> queryAllByOperationId(@Param("operationId")String operationId);


}
